package com.fzl.lotterysystem.service;

import com.fzl.lotterysystem.controller.param.UserLoginParam;
import com.fzl.lotterysystem.controller.param.UserPasswordLoginParam;
import com.fzl.lotterysystem.controller.param.UserRegisterParam;
import com.fzl.lotterysystem.service.DTO.UserDTO;
import com.fzl.lotterysystem.service.DTO.UserLoginDTO;
import com.fzl.lotterysystem.service.DTO.UserRegisterDTO;
import com.fzl.lotterysystem.service.enums.UserIdentityEnum;

import java.util.List;

public interface UserService {
    UserRegisterDTO register (UserRegisterParam param);

    UserLoginDTO login(UserLoginParam param);

    List<UserDTO> findUserInfo(UserIdentityEnum identity);
}
